/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package umis2.nivel;

/**
 *
 * @author Alex
 */
public class NivelBuilderDirector {

    private NivelBuilder nivelBuilder;

    public void setNivelBuilder(NivelBuilder nb){
        nivelBuilder = nb;
    }

    public Nivel getNivel(){
        return nivelBuilder.getNivel();
    }

    public void constructNivel(){
        nivelBuilder.createNewNivelProduct();
        nivelBuilder.buildPlataformas();
        nivelBuilder.buildPersonajes();
    }

}
